<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 用法很简单 arr1.concat(arr2,arr3,...,num1,num2),传入数组和单个数据都可以;
        // 注意，是不改变原数组的
        let arr1 = [1,2,3];
        let arr2 = [4,5,6];
        let arr3 = [7,8,9];
        console.log(arr1.concat(arr2,arr3,10,11,12,{name:"zz"}));
    </script>
</body>
</html>